package com.wu.bean;


import java.util.Date;

/**
 * 留言表
 */
public class Leavingamessage {
    private  Integer id;
    private Integer messageperson;
    private String content;
    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMessageperson() {
        return messageperson;
    }

    public void setMessageperson(Integer messageperson) {
        this.messageperson = messageperson;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Leavingamessage{" +
                "id=" + id +
                ", messageperson=" + messageperson +
                ", content='" + content + '\'' +
                ", time=" + time +
                '}';
    }

    public Leavingamessage() {
    }

    public Leavingamessage(Integer id, Integer messageperson, String content, Date time) {
        this.id = id;
        this.messageperson = messageperson;
        this.content = content;
        this.time = time;
    }
}
